<?php
/**
 * @package Hello_Dolly
 * @version 1.6
 */
/*
Plugin Name: Tan Tien WP
Plugin URI: http://wordpress.org/plugins/hello-dolly/
Description: just a plugin
Author: Binh dang
Version: 1.6
Author URI: http://dangngocbinh.com
*/
function tt_admin_body_class( $classes ) {
	$user_ID = get_current_user_id();
	$classes .= 'user-id-' . $user_ID;
	return $classes;
}
add_filter( 'admin_body_class', 'tt_admin_body_class' );


function tt_admin_css() {
?>
	<style type='text/css'>
	.user-id-2 #toplevel_page_wpcf7{
		display: none;
	}

	.user-id-2 #menu-plugins{
		display: none;
	}

	.user-id-2 #menu-tools{
		display: none;
	}
	.user-id-2 #menu-settings{
		display: none;
	}
	.user-id-2 #toplevel_page_wonderplugin_gridgallery_overview{
		display: none;
	}
	.user-id-2 #toplevel_page_metaslider{
		display: none;
	}

	.user-id-2 #edit-slug-box{
		display: none;
	}

	.user-id-2 #postdivrich{
		display: none;
	}
	.user-id-2 .product_data_tabs .inventory_options,.user-id-2  .product_data_tabs .shipping_options,.user-id-2  .product_data_tabs .advanced_options{
		display: none !important;
	}
	.user-id-2  #variable_product_options_inner #field_to_edit, .user-id-2  #variable_product_options_inner .bulk_edit{
		display: none;
	}
	.user-id-2  #variable_product_options_inner .link_all_variations{
		display: none;
	}
	 .user-id-2  .woocommerce_variable_attributes td.options{
		display: none;
	}
	.user-id-2  #minor-publishing{
		display: none;
	}
	.user-id-2  .product_data_tabs li.general_options{
		display: none !important;
	}
	.user-id-2 .woocommerce_variable_attributes .data_table tr:nth-child(4){
		display: none;
	}
	.user-id-2 .woocommerce_variable_attributes .data_table tr:nth-child(5){
		display: none;
	}
	.user-id-2 .woocommerce_variable_attributes .data_table tr:nth-child(6){
		display: none;
	}
	.user-id-2 #menu-appearance,.user-id-2  #menu-users,.user-id-2  #menu-plugins,.user-id-2  #toplevel_page_wpseo_dashboard,.user-id-2  #toplevel_page_wpseo_dashboard,
	.user-id-2 #menu-media,.user-id-2  #menu-comments{
		display: none;
	}
	</style>
<?php
}

add_action( 'admin_head', 'tt_admin_css' );

?>
